import { fetchData } from '@/services/name';
export default function* fetchUserName(
  { payload }: any,
  { call, put, select }: any,
) {
  const response = yield call(fetchData);
  const callName = response.data[0].author;
  yield put({ type: 'callsetName', payload: callName });
}
